package com.ruoyi.order.station.request.instance;

import com.github.s7connector.api.annotation.S7Variable;
import com.github.s7connector.impl.utils.S7Type;
import lombok.Data;

@Data
public class DB5401 {

    //0空 1正常 2 已用完
    @S7Variable(byteOffset = 252, bitOffset = 0, type = S7Type.WORD)
    public Integer result;
    //产品条码
    @S7Variable(byteOffset = 254, arraySize = 70, type = S7Type.BYTE)
    public byte[] version;

    //版本
    @S7Variable(byteOffset = 326, arraySize = 70, type = S7Type.BYTE)
    public byte[] barcode;

    //pcb型号
    @S7Variable(byteOffset = 398, arraySize = 70, type = S7Type.BYTE)
    public byte[] pcb;
}
